package my.edu.model.bills.sales.service;

import com.baomidou.mybatisplus.extension.service.IService;
import my.edu.model.bills.sales.entity.SalesOrderDetail;
import my.edu.model.bills.sales.entity.dto.SalesDetailDTO;
import my.edu.model.bills.sales.entity.dto.SalesOrderSearchDTO;

import java.util.List;

public interface ISalesOrderDetailService extends IService<SalesOrderDetail> {
    void saveBatchByDTO(List<SalesDetailDTO> salesDetailDTOList, Long salesOrderId);

    void updateBatchByDTO(List<SalesDetailDTO> salesDetailDTOList, Long id);

    List<SalesOrderDetail> getReportList(SalesOrderSearchDTO salesOrderSearchDTO);
}
